﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.BHGPSSP.Dtos
{
    [ExcelExporter(Name = "不合格评审审批", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetBHGPSSPOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }


        /// <summary>
        /// 标题
        /// </summary>
        [ExporterHeader(DisplayName = "标题")]
        public string Title { get; set; }

        /// <summary>
        /// 正文
        /// </summary>
        [ExporterHeader(DisplayName = "正文")]
        public string Content { get; set; }

        /// <summary>
        /// 抄送用户名
        /// </summary> 
        [ExporterHeader(DisplayName = "抄送用户名")]
        public string CCUsersName { get; set; }

        /// <summary>
        /// 不合格评审项目
        /// </summary>
        [ExporterHeader(DisplayName = "不合格评审项目")]
        public string ReviewProject { get; set; }

        /// <summary>
        /// 处置方案
        /// </summary>
        [ExporterHeader(DisplayName = "处置方案")]
        public string DisposalPlan { get; set; }

        /// <summary>
        /// 处置方案说明
        /// </summary>
        [ExporterHeader(DisplayName = "处置方案说明")]
        public string DisposalPlanDescription { get; set; }
    }
}